All numeric types have predefined modulus operators 所有数值类型都具有预定义的模数运算符。
The modulus operator 模数运算符(
The modulus operator computes the remainder after dividing its first operand by its second 模数运算符( % )计算第二个操作数除第一个操作数后的余数。
The modulus operator , when used with the result of the random number generator , limits the result to an upper bound of the operand minus one ( 99 in this case ) 若随同随机数生成器的结果使用,模数运算符( % )可将结果限制到运算对象减1的上限(本例是99 )之下。